]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
dash: Increase the maximum icon size
authorFlorian Müllner <fmuellner@gnome.org>
Wed, 9 Feb 2011 22:40:48 +0000 (23:40 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Wed, 9 Feb 2011 22:51:46 +0000 (23:51 +0100)
With the labels removed from dash items, we can potentially use
a larger icon size, so add 64 to the list of icon sizes and use
it by default.

js/ui/dash.js

index 0456de86b226ffd63bd2780eb133a91489ed1e8a..e4d18abb48d26799eb71967caaafed6aceca00fe 100644 (file)
@@ -249,7 +249,7 @@ function Dash() {
 Dash.prototype = {
     _init : function() {
         this._maxHeight = -1;
-        this._iconSize = 48;
+        this._iconSize = 64;
         this._shownInitially = false;
 
         this._dragPlaceholder = null;
@@ -413,7 +413,7 @@ Dash.prototype = {
         let [minHeight, natHeight] = this.actor.get_preferred_height(-1);
         let diff = (this._maxHeight - natHeight) / iconChildren.length;
 
-        let iconSizes = [ 16, 22, 24, 32, 48 ];
+        let iconSizes = [ 16, 22, 24, 32, 48, 64 ];
 
         let newIconSize = 16;
         for (let i = 0; i < iconSizes.length; i++) {